package com.schoolinfo.dao;

import java.util.List;

import com.schoolinfo.model.FirstClass;

public interface FirstClassDAO {

	public abstract void save(FirstClass transientInstance);

	public abstract void delete(FirstClass persistentInstance);

	public abstract FirstClass findById(java.lang.Integer id);

	public abstract List<FirstClass> findByExample(FirstClass instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List<FirstClass> findByName(Object name);

	public abstract List findAll();

	public abstract FirstClass merge(FirstClass detachedInstance);

	public abstract void attachDirty(FirstClass instance);

	public abstract void attachClean(FirstClass instance);

}